package com.workstudy.wstudy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.workstudy.common.annotation.Excel;
import com.workstudy.common.core.domain.BaseEntity;

/**
 * 时间管理对象 wst_time
 * 
 * @author sun
 * @date 2021-05-05
 */
public class WstTime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 时间ID */
    private Long timeId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 岗位ID */
    @Excel(name = "岗位ID")
    private Long postId;

    /** 星期 */
    @Excel(name = "星期")
    private String week;

    /** 时间 */
    @Excel(name = "时间")
    private String time;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createUserId;

    /** 更新用户ID */
    @Excel(name = "更新用户ID")
    private Long updateUserId;

    /** 星期一 */
    @Excel(name = "星期一")
    private String monday;

    /** 星期二 */
    @Excel(name = "星期二")
    private String tuesday;

    /** 星期三 */
    @Excel(name = "星期三")
    private String wednesday;

    /** 星期四 */
    @Excel(name = "星期四")
    private String thursday;

    /** 星期五 */
    @Excel(name = "星期五")
    private String friday;

    /** 星期六 */
    @Excel(name = "星期六")
    private String saturday;

    /** 星期日 */
    @Excel(name = "星期日")
    private String sunday;

    public void setTimeId(Long timeId) 
    {
        this.timeId = timeId;
    }

    public Long getTimeId() 
    {
        return timeId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setWeek(String week) 
    {
        this.week = week;
    }

    public String getWeek() 
    {
        return week;
    }
    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }
    public void setUpdateUserId(Long updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() 
    {
        return updateUserId;
    }
    public void setMonday(String monday) 
    {
        this.monday = monday;
    }

    public String getMonday() 
    {
        return monday;
    }
    public void setTuesday(String tuesday) 
    {
        this.tuesday = tuesday;
    }

    public String getTuesday() 
    {
        return tuesday;
    }
    public void setWednesday(String wednesday) 
    {
        this.wednesday = wednesday;
    }

    public String getWednesday() 
    {
        return wednesday;
    }
    public void setThursday(String thursday) 
    {
        this.thursday = thursday;
    }

    public String getThursday() 
    {
        return thursday;
    }
    public void setFriday(String friday) 
    {
        this.friday = friday;
    }

    public String getFriday() 
    {
        return friday;
    }
    public void setSaturday(String saturday) 
    {
        this.saturday = saturday;
    }

    public String getSaturday() 
    {
        return saturday;
    }
    public void setSunday(String sunday) 
    {
        this.sunday = sunday;
    }

    public String getSunday() 
    {
        return sunday;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("timeId", getTimeId())
            .append("userId", getUserId())
            .append("postId", getPostId())
            .append("week", getWeek())
            .append("time", getTime())
            .append("status", getStatus())
            .append("createUserId", getCreateUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("updateUserId", getUpdateUserId())
            .append("monday", getMonday())
            .append("tuesday", getTuesday())
            .append("wednesday", getWednesday())
            .append("thursday", getThursday())
            .append("friday", getFriday())
            .append("saturday", getSaturday())
            .append("sunday", getSunday())
            .toString();
    }
}
